package com.yuelan.app.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description: 租金逾期
 * @Author: ZhaoYi
 * @date: 24-6-22 5:55
 */
@Data
@TableName("apa_rent_overdue")
public class RentOverdue implements Serializable {

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 租户id
     */
    @TableField("bill_id")
    private Long billId;

    @TableField("bill_cycle")
    private Integer billCycle;

    /**
     * 逾期天数
     */
    @TableField("overdue_day")
    private Integer overdueDay;

    /**
     * 逾期欠款金额
     */
    @TableField("overdue_amount")
    private BigDecimal overdueAmount;

    /**
     * 每天需支付金额
     */
    @TableField("everyday_amount")
    private BigDecimal everyDayPay;

}
